package com.xiaoge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoge.entity.EduCourse;
import com.xiaoge.entity.EduLecturer;
import com.xiaoge.vo.EduCourseVO;
import com.xiaoge.vo.EduLecturerVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Author: 冷俊杰
* @Description: 讲师信息
* @DateTime: 2022/10/28 12:02
**/
public interface EduLecturerMapper extends BaseMapper<EduLecturer> {
    /**
     * 分页查询所有讲师
     * @param page
     * @param lecturerName
     * @return
     */
    List<EduLecturer> getEduLecturerList(@Param("page") Page<EduLecturer> page, @Param("lecturerName") String lecturerName);

    void addEduLecturer(EduLecturerVO eduLecturer);

    void updateeduLecturer(EduLecturerVO eduLecturer);

}